.class Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;
.super Ljava/lang/Object;
.source "ReginaLauncherSettings.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ReginaLauncherSettings;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "BackupAndRestoring"
.end annotation


# instance fields
.field private mContext:Landroid/content/Context;

.field private mIsBackup:Z

.field final synthetic this$0:Lcom/nemustech/regina/ReginaLauncherSettings;


# direct methods
.method public constructor <init>(Lcom/nemustech/regina/ReginaLauncherSettings;Landroid/content/Context;Z)V
    .locals 1
    .parameter
    .parameter "c"
    .parameter "isBackup"

    .prologue
    .line 70
    iput-object p1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 71
    invoke-virtual {p2}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;->mContext:Landroid/content/Context;

    .line 72
    iput-boolean p3, p0, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;->mIsBackup:Z

    .line 73
    return-void
.end method

.method static synthetic access$200(Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;)Z
    .locals 1
    .parameter "x0"

    .prologue
    .line 66
    iget-boolean v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;->mIsBackup:Z

    return v0
.end method

.method static synthetic access$300(Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;)Landroid/content/Context;
    .locals 1
    .parameter "x0"

    .prologue
    .line 66
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;->mContext:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    .line 77
    iget-object v1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    iget-object v2, p0, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;->mContext:Landroid/content/Context;

    iget-boolean v3, p0, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;->mIsBackup:Z

    invoke-static {v1, v2, v3}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$000(Lcom/nemustech/regina/ReginaLauncherSettings;Landroid/content/Context;Z)Z

    move-result v1

    const/4 v2, 0x1

    if-ne v1, v2, :cond_1

    .line 78
    const/4 v0, 0x4

    .line 79
    .local v0, type:I
    iget-boolean v1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;->mIsBackup:Z

    if-nez v1, :cond_0

    .line 80
    const/4 v0, 0x5

    .line 83
    :cond_0
    iget-object v1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v1}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$100(Lcom/nemustech/regina/ReginaLauncherSettings;)Lcom/nemustech/regina/DialogCareSecret;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/nemustech/regina/DialogCareSecret;->closeDialogByType(I)V

    .line 85
    iget-object v1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v1}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$400(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/os/Handler;

    move-result-object v1

    new-instance v2, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring$1;

    invoke-direct {v2, p0}, Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring$1;-><init>(Lcom/nemustech/regina/ReginaLauncherSettings$BackupAndRestoring;)V

    invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 98
    .end local v0           #type:I
    :cond_1
    return-void
.end method
